﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using OPMS_V1.DOL;

namespace OPMS_V1.BOL
{
    public class Feedback
    {
        S_PDataContext dc = new S_PDataContext();
        DataSet ds = new DataSet();
        FeedbackDOL objfeedback = new FeedbackDOL();


        /// <summary>
        /// This function is used for returning the datasource for the Grid View
        /// It return the records the then is used to bind the grid view with the new records.
        /// (Incomplete Properties)6
        /// </summary>
        /// <returns></returns>
        public DataSet GetFeedback()
        {
            //Getting the dataset from the DOL Feedback
            DataSet ds = objfeedback.GetFeedback();
            //Returning the dataset to the main calling class
            return ds;
        }
    }
}
